﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Model;
using Control;


namespace WCF
{
    [ServiceContract]
    public interface ICustomerService
    {
        [OperationContract]
        void CreateCustomer(string name, string address, string phoneNo, string email, string type);

        [OperationContract]
        void DeleteCustomer(string phoneNo);

        [OperationContract]
        List<Customer> FindAllCustomers();

        [OperationContract]
        Customer FindCustomer(string phoneNo);
    }
}
